
<%@ page language="java" import=" myUtils.Constants,myUtils.page.*,java.util.*,po.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<s:include value="/layout/header.jsp" />
<SCRIPT language="javascript" src="js/page-navigater.js"></SCRIPT>
<!-- B.1 MAIN CONTENT -->

<div class="main-content">
    <!-- Content unit - One column -->
  <h1 class="pagetitle">成员列表</h1>

        <div class="column1-unit">

<h1 class="block">

    <%if(request.getAttribute("check").equals(String.valueOf(Constants.ORG_MEMBER)))
           out.print("已审核");
    else
        out.print("待审核");
    %>成员列表</h1>
         <table>
            <tr><th class="top" scope="col">姓名</th>
			<th class="top" scope="col">学号</th>
			<th class="top" scope="col">联系方式</th>
			<th class="top" scope="col">住址</th>
            <th class="top" scope="col">评分</th>
			<th class="top" scope="col">操作</th>
			</tr>
            <s:if test="member">
                    <s:iterator value="member">
                         <tr><th scope="row"><a href="#"><s:property value='name' /></a></th><td><s:property value='number' /></td>
                <td><s:property value='phoneNum' /></td><td><s:property value='address' /></td><td>未知</td><td>
                     <%if(request.getAttribute("check").equals(String.valueOf(Constants.ORG_MEMBER))){%>
                    <a href="deletemember.action?user_id=<s:property value='id' />&org_id=<s:property value='orgid' />">删除</a>
                    <%}else{%>
                    <a href="orgapproveuser.action?user_id=<s:property value='id' />&org_id=<s:property value='orgid' />">通过</a>
                    <%}%>
                </td></tr>
                    </s:iterator>
            </s:if>
            <s:else>
                    没有任何成员
            </s:else>
        
          </table>
		  <s:if test="myPage">
                   <s:iterator value="myPage">
                       <script language="javascript">pager = new PageNavigater(<s:property value='totalPage' />,<s:property value='currentPage' />, "checkedmemberlist.action?id=<s:property value='orgid' />&") ;document.write(pager);</script>
                   </s:iterator>
          </s:if>
        </div>

        <hr class="clear-contentunit" />

           
</div>
                
<s:include value="/layout/footer.jsp"/>